#-------------------------------------------------
#
# Project created by QtCreator 2024-10-21T01:24:16
#
#-------------------------------------------------

QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = blindGlasses
TEMPLATE = app


SOURCES += main.cpp\
        widget.cpp \
    controler.cpp \
    audiocontroler.cpp \
    videocontroler.cpp

HEADERS  += widget.h \
    controler.h \
    audiocontroler.h \
    Aconfig.h \
    videocontroler.h

FORMS    += widget.ui \
    cameraframe.ui



#------------------------snowboy-----------------------------
QT       += multimedia

CONFIG   += c++11

LIBS += -L../resources/snowboy_resources/lib \
        -lsnowboy-detect
LIBS += -lblas

QMAKE_CXXFLAGS += -D_GLIBCXX_USE_CXX11_ABI=0
#------------------------snowboy-----------------------------


#------------------------sherpa_ncnn-----------------------------
QT      += multimedia

LIBS     += -L../resources/sherpaNcnn_resources/lib \
            -lsherpa-ncnn-c-api

#------------------------sherpa_ncnn-----------------------------


#------------------------sherpa_onnx-----------------------------
CONFIG   += c++11

LIBS += -L../resources/sherpaOnnx_resources/lib \
        -lsherpa-onnx-c-api \
        -lsherpa-onnx-core \
        -lsherpa-onnx-fstfar \
        -lsherpa-onnx-kaldifst-core \
        -lcargs \
        -lkaldi-decoder-core \
        -lkaldi-native-fbank-core \
        -lsherpa-onnx-fst \
        -lssentencepiece_core \
        -lespeak-ng \
        -lpiper_phonemize \
        -lucd

LIBS += -L../resources/sherpaOnnx_resources/lib \
        -lonnxruntime

LIBS += -ldl
#------------------------sherpa_onnx-----------------------------


#------------------------sgbm-----------------------------

CONFIG   += c++11

INCLUDEPATH += /usr/local/include/opencv2
LIBS += -L/usr/local/lib
LIBS += -lopencv_core \
        -lopencv_imgproc \
        -lopencv_highgui \
        -lopencv_videoio \
        -lopencv_calib3d

CONFIG += debug
QMAKE_LFLAGS += -g
#------------------------sgbm-----------------------------


